package com.whminwei.edu.api.dc.client;

import com.whminwei.common.feign.decoder.FullHttpRspnConfig;
import com.whminwei.common.http.rspn.FullHttpResponse;
import com.whminwei.edu.api.dc.dto.feq.CommonFeq;
import com.whminwei.edu.api.dc.dto.fspn.other.DcComActivityFspn;
import com.whminwei.edu.api.dc.dto.fspn.other.DcCommunityFspn;
import com.whminwei.edu.api.dc.dto.fspn.other.DcItbUseFspn;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author zhangjq
 * @since 2024-10-11
 */
@FeignClient(name = "xzzg-pt-other-service", contextId = "datacenter-other", configuration = FullHttpRspnConfig.class)
public interface DcOtherClient {

    /**
     * 获取校内实训基地使用记录
     *
     * @return com.whminwei.common.http.rspn.FullHttpResponse<com.whminwei.edu.api.dc.dto.fspn.other.DcItbUseFspn>
     * @author zhangjq
     * @since 2024-10-11
     */
    @PostMapping("/datacenter/getItbUseList")
    FullHttpResponse<DcItbUseFspn> getItbUseList(CommonFeq feq);

    /**
     * 获取社团信息
     *
     * @return com.whminwei.common.http.rspn.FullHttpResponse<com.whminwei.edu.api.dc.dto.fspn.other.DcCommunityFspn>
     * @author zhangjq
     * @since 2024-10-22
     */
    @PostMapping("/datacenter/getCommunityList")
    FullHttpResponse<DcCommunityFspn> getCommunityList();

    /**
     * 获取社团活动信息
     *
     * @return com.whminwei.common.http.rspn.FullHttpResponse<com.whminwei.edu.api.dc.dto.fspn.other.DcComActivityFspn>
     * @author zhangjq
     * @since 2024-10-22
     */
    @PostMapping("/datacenter/getComActivityList")
    FullHttpResponse<DcComActivityFspn> getComActivityList(CommonFeq feq);
}
